package com.brayan.webapp.service.general.currencyconversion;


public class ClientSample {

	public static void main(String[] args) {
	        System.out.println("***********************");
	        System.out.println("Create Web Service Client...");
	        CurrencyConvertor service1 = new CurrencyConvertor();
	        System.out.println("Create Web Service...");
	        CurrencyConvertorHttpPost port1 = service1.getCurrencyConvertorHttpPost();
	        System.out.println("Call Web Service Operation...");
	        System.out.println("Server said: " + port1.conversionRate(null,null));
	        //Please input the parameters instead of 'null' for the upper method!
	
	        System.out.println("Create Web Service...");
	        CurrencyConvertorHttpPost port2 = service1.getCurrencyConvertorHttpPost();
	        System.out.println("Call Web Service Operation...");
	        System.out.println("Server said: " + port2.conversionRate(null,null));
	        //Please input the parameters instead of 'null' for the upper method!
	
	        System.out.println("Create Web Service...");
	        CurrencyConvertorSoap port3 = service1.getCurrencyConvertorSoap();
	        System.out.println("Call Web Service Operation...");
	        System.out.println("Server said: " + port3.conversionRate(null,null));
	        //Please input the parameters instead of 'null' for the upper method!
	
	        System.out.println("Create Web Service...");
	        CurrencyConvertorSoap port4 = service1.getCurrencyConvertorSoap();
	        System.out.println("Call Web Service Operation...");
	        System.out.println("Server said: " + port4.conversionRate(null,null));
	        //Please input the parameters instead of 'null' for the upper method!
	
	        System.out.println("Create Web Service...");
	        CurrencyConvertorSoap port5 = service1.getCurrencyConvertorSoap12();
	        System.out.println("Call Web Service Operation...");
	        System.out.println("Server said: " + port5.conversionRate(null,null));
	        //Please input the parameters instead of 'null' for the upper method!
	
	        System.out.println("Create Web Service...");
	        CurrencyConvertorSoap port6 = service1.getCurrencyConvertorSoap12();
	        System.out.println("Call Web Service Operation...");
	        System.out.println("Server said: " + port6.conversionRate(null,null));
	        //Please input the parameters instead of 'null' for the upper method!
	
	        System.out.println("Create Web Service...");
	        CurrencyConvertorHttpGet port7 = service1.getCurrencyConvertorHttpGet();
	        System.out.println("Call Web Service Operation...");
	        System.out.println("Server said: " + port7.conversionRate(null,null));
	        //Please input the parameters instead of 'null' for the upper method!
	
	        System.out.println("Create Web Service...");
	        CurrencyConvertorHttpGet port8 = service1.getCurrencyConvertorHttpGet();
	        System.out.println("Call Web Service Operation...");
	        System.out.println("Server said: " + port8.conversionRate(null,null));
	        //Please input the parameters instead of 'null' for the upper method!
	
	        System.out.println("***********************");
	        System.out.println("Call Over!");
	}
}
